<!DOCTYPE html>
<html lang="en">
<!--后台模板在线网址 http://www.sucaihuo.com/modals/5/518/demo/ui_features.html-->
<head>
    <meta charset="utf-8">
    <title>约健体育联盟</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="约健体育联盟">
    <include file="Public/head" />
</head>
<body>
<div id="wrap">
    <include file="Public/top0" />
    <div class="container-fluid">
        <include file="Public/sidemenus"/>

        <!-- Main window -->
        <div class="main_container" id="users_page">

            <div class="row-fluid">

                <h2 class="heading">
                    精彩活动信息管理
                </h2>
            </div> <!-- /row-fluid -->


            <!--此处往下为代码改写部分-->
            <div class="row-fluid">
                <div class="widget widget-padding span12">
                    <div class="widget-header">
                        <i class="icon-group"></i>
                        <h5>精彩活动信息列表</h5>
                        <div class="widget-buttons">
                            <!--<a href="#" data-title="Add User" data-toggle="modal" data-target="#example_modal"><i class="icon-plus"></i></a>-->
                            <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
                        </div>
                    </div>
                    <div class="widget-body table-responsive ">
                    <p class="layui-btn" style="margin-top: 20px;"><a class="btn btn-success" href="__URL__/addactivity">添加活动</a></p>
                        <table id="activity" class="table table-condensed table-striped table-bordered dataTable">
                            <thead>
                            <tr><th>活动编号</th>
                                <th>活动项目</th>
                                <th>图片</th>
                                <th>简介</th>
                                <th>地址</th>
                                <th>时间</th>
                                <th>活动收费</th>
                                <th>咨询热线</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            <volist name="activitylist" id="vo">

                                <tr>
                                    <td>{$vo.actid}</td>
                                    <td>{$vo.actname}</td>
                                    <td><img src="__PUBLIC__/Uploads/photo/{$vo.actpic}" width="60" ></td>
                                    <td>{$vo.actintro}</td>
                                    <td>{$vo.actaddress}</td>
                                    <td>{$vo.acttime}</td>
                                    <td>{$vo.actcost}</td>
                                    <td>{$vo.actcall}</td>
                                    <td>
                                       <a href="__URL__/editactivity/actid/{$vo.actid}"> 修改|</a>
                                       
                                        <a href="__URL__/deleteactivity/actid/{$vo.actid}" onclick="return confirm('你确定要删除吗？')">删除</a>
                                    </td>
                                </tr>
                            </volist>

                            </tbody>
                        </table>
                    </div> <!-- /widget-body -->
                </div> <!-- /widget -->
            </div> <!-- /row-fluid -->

        </div>
        <!-- /Main window -->

    </div><!--/.fluid-container-->
</div><!-- wrap ends-->
</body>
</html>
